package com.itheima.news.service;

import com.itheima.news.pojo.News;
import com.itheima.news.utils.Page;

import java.util.List;

/**
 * 新闻管理Service
 * @author xiao1.wang@dmall.com
 * @date 2019-07-10 22:33:28
 */
public interface NewsService {

    List<News> list();

    void add(News news);

    Page<News> findByPage(News news, Integer page, Integer size);
}
